package com.xinghanlaser.applet.query;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.xinghanlaser.applet.base.common.vo.PageVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * <p>
 *
 * <p>
 *
 * @author: mftuo 陀铭峰
 * @since: 2024/5/8 10:22
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class TopicQuery extends PageVO {
    @NotNull(message = "角色ID不能为空")
    private Long roleId;

    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @ApiModelProperty("对于该角色状态下的订单状态")
    private Integer rolePointState;

    @ApiModelProperty("模糊查询SN或topicId")
    private String productSnOrTopicId;
}
